Automated sentence planning in a task classification system

ABSTRACT

The invention relates to a task classification system ( 900 ) that interacts with a user. The task classification system ( 900 ) may include a recognizer ( 920 ) that may recognize symbols in the user&#39;s input communication, and a natural language understanding unit ( 900 ) that may determine whether the user&#39;s input communication can be understood. If the user&#39;s input communication can be understood, the natural language understanding unit ( 930 ) may generate understanding data. The system may also include a communicative goal generator that may generate communicative goals based on the symbols recognized by the recognizer ( 920 ) and understanding data from the natural language understanding unit ( 930 ). The generated communicative goals may be related to information needed to be obtained from the user. The system may further include a sentence planning unit ( 120 ) that may automatically plan one or more sentences based on the communicative goals generated by the communicative goal generator with at least one of the sentences plans being output to the user.

CLAIM FOR PRIORITY/CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This non-provisional application claims the benefit of U.S. Provisional Patent Application No. 60/275,653, filed Mar. 14, 2001, which is incorporated by reference in its entirety.

TECHNICAL FIELD

[0002] This invention relates to automated systems for communication recognition and understanding.

BACKGROUND OF THE INVENTION

[0003] The past several years have seen a large increase in commercial spoken dialog systems. These systems typically utilize system-initiative dialog strategies. The system utterances are highly scripted for style and then recorded by voice talent. However several factors argue against the continued use of these simple techniques for producing the system side of the conversation. First, the quality of text-to-speech systems has improved to the point of being a viable alternative to prerecorded prompts. Second, there is a perceived need for spoken dialog systems to be more flexible and support user initiative. However, this factor also requires greater flexibility for system utterance generation. Finally, there are dialog systems that support complex planning currently under development, and these systems are likely to require more sophisticated system output than current technologies will be able to provide.

SUMMARY OF THE INVENTION

[0004] The invention relates to a task classification system that interacts with a user. The task classification system may include a recognizer that may recognize symbols in the user's input communication, and a natural language understanding unit that may determine whether the user's input communication can be understood. If the user's input communication can be understood, the natural language understanding unit may generate understanding data. The system may also include a communicative goal generator that may generate communicative goals based on the symbols recognized by the recognizer and understanding data from the natural language understanding unit. The generated communicative goals may be related to information needed to be obtained from the user. The system may further include a sentence planning unit that may automatically plan one or more sentences based on the communicative goals generated by the communicative goal generator with at least one of the sentences plans being output to the user.

BRIEF DESCRIPTION OF THE DRAWINGS

[0005]FIG. 1 illustrates an exemplary sentence planning system;

[0006]FIG. 2 illustrates an exemplary sentence planning unit;

[0007]FIG. 3 illustrates an exemplary sentence planning system process;

[0008]FIG. 4 illustrates a list of clause combining operations with examples;

[0009]FIG. 5 illustrates an alternative zero planning tree;

[0010]FIG. 6 illustrates an alternative eight sentence planning tree;

[0011]FIG. 7 illustrates an alternative eight DSYNT structure;

[0012]FIG. 8 illustrates rules with the largest impact on the final rank booster score;

[0013]FIG. 9 illustrates an exemplary task classification system; and

[0014]FIG. 10 illustrates an exemplary task classification process.

DETAILED DESCRIPTION

[0015] Sentence planning is a set of inter-related but distinct tasks, one of which is sentence scoping. Sentence scoping relates to the choice of syntactic structure for elementary speech acts and the decisions concerning how to combine them into sentences. For example, consider the required capabilities of a sentence planning system for a mixed-initiative spoken dialog system for travel planning in the sample dialog below:

[0016] 1) System: Welcome . . . What airport would you like to fly out of?

[0017] 2) User: I need to go to Columbus.

[0018] 3) System: Flying to Columbus. What departure airport was that?

[0019] 4) User: From Washington on September the 6^(th).

[0020] 5) System: What time would you like to travel on September the 6^(th) to Columbus from Washington?

[0021] In utterance 1), the system requests information about the user's departure airport, but in the user's response 2), the user takes the initiative to provide information about a destination. In the system's utterance 3), the system's goal is to implicitly confirm the destination (because of the possibility of error in the speech recognition component), and to also request information (for the second time) concerning the caller's departure airport. In the user's response 4), the caller provides the requested information but also provides the month and day of travel. Given the system's dialog strategy, the communicative goals for the system's utterance 5) are to implicitly confirm all of the information that the user has provided so far, i.e., the departure and destination cities, and the month and day of travel, as well as to request information about the time of travel. The system's representation of its communicative goals for the system's utterances is illustrated in Table 1 below: TABLE 1 The Communicative Goals for System Utterance 5. Above. implicit-confirm(orig-city: WASHINGTON) implicit-confirm(dest-city: COLUMBUS) implicit-confirm(month: 9) implicit-confirm(day-number: 6) request(depart-time: whatever)

[0022] An important job for the sentence planning system is to decide among the large number of potential realizations of these communicative goals. Some example alternative realizations are found in Table 2 below: TABLE 2 Alternative Sentence Plan Realizations for the Communicative Goals for System Utterance 5 in the SamDle Dialoci. Above Alt Realization H MLP 0 What time would you like to travel on September 5 .85 6^(th) to Columbus from Washington? 5 Leaving on September 6^(th). What time would you 4.5 .82 like to travel from Washington to Columbus? 8 Leaving in September. Leaving on the 6^(th). What 2 39 time would you, travelling from Washington to Columbus, like to leave?

[0023]FIG. 1 illustrates an exemplary sentence planning system 100 which may be used in the above sentence planning scenario as well as in many other various applications, including customer care, service or parts ordering, travel arrangements bookings, location/map information, etc. As shown in the figure, the sentence planning system 100 may include a sentence planning unit 120, a realization unit 130, a text-to-speech unit 140, a discourse history database 150, and a training database 160.

[0024] The sentence planning system 100 receives input recognition and understanding data from a dialog system that is based on input communications from the user. The dialog system may be any system that may be trained to recognize and understand any number of communication symbols, both acoustic and non-acoustic, including grammar fragments, meaningful words, meaningful phrases, meaningful phrase clusters, superwords, morphemes, multimodal signals, etc., using any of the methods known to one skilled in the art including those found in U.S. Pat. Nos. 5,675,707, 5,860,063 and 6,044,337, and U.S. patent application Ser. Nos. 08/943,944, 09/712,192 and 09/712,194, which are hereby incorporated by reference in their entirety. For example, the dialog system may operate using one or more of a variety of recognition and understanding algorithms to determine whether the user's input communications have been recognized and understood prior to inputting data to the sentence planning system 100.

[0025] In the sentence planning system 100, the discourse history database 150 serves as a database for storing each dialog exchange for a particular dialog or set of interactions with a user. The training database 160 stores sentence planning examples collected from interactions with human users and models built based on those examples and positive and negative feedback on the quality of the examples that was provided by human users during the training phase. The training database 150 also stores the sentence planning features identified from the collected dialogs, and the sentence planning rules generated from both the dialogs and the sentence planning features. The sentence planning unit 120 exploits the training database 160 by using the dialog history stored in the discourse history database 150 to predict what sentence plan to generate for the current user interaction.

[0026] While the discourse history database 150 and the training database 160 are shown as separate databases in the exemplary embodiments, the dialog history and training data may be stored in the same database or memory, for example. In any case, any of the databases or memories used by the sentence planning system 100 may be stored external or internal to the system 100.

[0027]FIG. 2 is a more detailed diagram of an exemplary sentence planning unit 120 shown in FIG. 1. The sentence planning unit 120 may include a communicative goal generator 210, a sentence plan generator 220 and a sentence plan ranker 230. The sentence plan generator 220 also receives input from the discourse history database 150 and the sentence plan ranker 230 also receives input from the training database 160.

[0028] The communicative goal generator 210 applies a particular dialog strategy to determine what the communicative goals should be for the system's next dialog turn. Although shown in FIG. 2 as part of the sentence planning unit 120, in another exemplary embodiment (shown by the dotted line), the communicative goal generator 210 may be separate from the sentence planning unit 120 and as such, may be a component of a dialog manager for an automated dialog system, for example (e.g., see FIG. 9). While traditional dialog managers used in conventional spoken dialog systems express communicative goals by looking up string templates that realize these goals and then simply pass the strings to a text-to-speech engine, the communicative goal generator 210 in the present invention generates semantic representations of communicative goals, such as those shown in Table 1.

[0029] These semantic representations are passed to the sentence planning unit 120 that can then use linguistic knowledge and prior training to determine the best realization for these communicative goals given the current discourse context, discourse history, and user. While the communicative goal generator 210 may or may not be physically located in the sentence planning unit 120, or even be a part of the sentence planning system 100, within the spirit and scope of the invention, for ease of discussion, the communicative goal generator 210 will be discussed as being part of the sentence planning unit 120.

[0030] In order to train the sentence planning system 100, the sentence planning process may include two distinct phases performed by the sentence plan generator 220 and the sentence plan ranker 230, respectively. In the first phase, the sentence plan generator 210 generates a potentially large sample of possible sentence plans for a given set of communicative goals generated by the communicative goal generator 210. In the second phase, the sentence-plan-ranker 220 ranks the sample sentence plans and then selects the top ranked plan to input to the realization unit 130. In ranking the generated sentence plans, the sentence plan ranker 230 may use rules automatically learned from training data stored in the training database 160, using techniques similar to those well-known to one of ordinary skill in the art.

[0031] In order to train the sentence planning system 100, neither hand-crafted rules nor the existence of a corpus in the domain of the sentence planning system 100 are necessarily needed. The trained sentence plan ranker 230 may learn to select a sentence plan whose rating on average is only 5% worse than the top human-ranked sentence plan. To further illustrate this, the sentence planning process, as well as the detailed descriptions of the sentence plan generator 220 and the sentence plan ranker 230, is set forth below.

[0032]FIG. 3 illustrates an exemplary sentence planning process using the sentence planning system 100. The process begins at step 3005 and proceeds to step 3010 where the communicative goal generator 210 receives recognition and understanding data from a dialog system and calculates the communicative goals of the particular transaction with the user. In step 3020, the communicative goal generator 210 transfers the calculated communicative goals along with the recognized/understood symbols to the sentence planning generator 220. The sentence plan generator 220 uses inputs from the discourse history database 150 to generate a plurality of sentence plans. Then, in step 3030, the generated sentence plans are ranked by the sentence plan ranker 230 using a set of rules stored in the training database 160.

[0033] The process proceeds to step 3040 where the sentence plan ranker 230 selects the highest ranked sentence plan. In step 3050, the selected sentence plan is input to the realization unit 130, which may be either a rule-based or stochastic surface realizer, for example. In the realization unit 130, linguistic rules and/or linguistic knowledge, derived from being trained using an appropriate dialog corpus, are applied to generate the surface string representation. Specifically, the types of linguistic rules or knowledge that the realization unit 130 may apply may concern the appropriate irregular verb forms, subject-verb agreement, inflecting words, word order, and the application of function words. For example, in English, the indirect object of the verb “give” is matched with the function word “to” as in the sentence “Matthew GAVE the book TO Megan”. Note that for ease of discussion, “linguistic rules” as described herein will be intended to encompass either or both “linguistic rules” and/or “linguistic knowledge”.

[0034] Then, in step 3060, the realized sentence plan is converted from text to speech by the text-to-speech unit 140 and is output to the user in step 3070. The text-to-speech unit 140 may be a text-to-speech engine known to those of skill in the art, such as that embodied in the AT&T NextGen TTS system, and possibly trained with lexical items specific to the domain of the sentence planning system 100. The device that outputs the converted sentence may be any device capable of producing verbal and/or non-verbal communications, such as a speaker, transducer, TV screen, CRT, or any other output device known to those of ordinary skill in the art. If the output includes speech, the automated speech may be produced by a voice synthesizer, voice recordings, or any other method or device capable of automatically producing audible sound known to those of ordinary skill in the art. The process then goes to step 3080 and ends.

[0035] In general, the role of the sentence planning system 100 is to choose abstract lexico-structural realizations for a set of communicative goals generated by the communicative goal generator 210. In contrast to conventional dialog systems that simply output completely formed utterances, the output of the above-described text-to-speech unit 140 provides the input back to the sentence planning system 100 in the form of a single spoken dialog text plan for each interaction between the system and the user.

[0036] In this process, each sentence plan generated by the sentence plan generator 220 is an unordered set of elementary speech acts encoding all of the communicative goals determined by the communicative goal generator 210 for the current user interaction. As illustrated above in Table 1, each elementary speech act is represented as a type (request, implicit confirm, explicit confirm), with type-specific parameters. The sentence planning system 100 must decide among alternative realizations of this communicative goal. Some alternative realizations are shown in Table 2, above.

[0037] As discussed above, the sentence planning task is divided by the sentence planning unit 120 into two phases. In the first phase, the sentence plan generator 220 generates 12-20 possible sentence plans, for example, for a given input communicative goal. To accomplish this, the sentence plan generator 220 assigns each speech act a canonical lexico-structural representation called a “Deep Syntactic Structure” (DSyntS). Essentially, the sentence plan is a tree that records how these elementary DSyntSs are combined into larger DSyntSs. From a sentence plan, the list of DSyntSs, each corresponding to exactly one sentence of the target communicative goal, can be read off. In the second phase, the sentence plan ranker 230 ranks sentence plans generated by the sentence plan generator 220, and then selects the top-ranked output which is then input into the realization unit 130.

[0038] In examining each of these phases, the sentence plan generator 220 performs a set of clause-combining operations that incrementally transform a list of elementary predicate-argument representations (the DSyntSs corresponding to elementary speech acts, in this case) into a list of lexico-structural representations of single sentences. As shown in FIG. 4, the sentence plan generator 220 performs this task by combining the elementary predicate-argument representations using the following combining operations:

[0039] MERGE. Two identical main matrix verbs can be identified if they have the same arguments; the adjuncts are combined.

[0040] MERGE-GENERAL. Same as MERGE, except that one of the two verbs may be embedded.

[0041] SOFT-MERGE. Same as MERGE, except that the verbs need only to be in a relation of synonymy or hyperonymy (rather than being identical).

[0042] SOFT-MERGE-GENERAL. Same as MERGE-GENERAL, except that the verbs need only to be in a relation of synonymy or hyperonymy.

[0043] CONJUNCTION. This is standard conjunction with conjunction reduction.

[0044] RELATIVE-CLAUSE. This includes participial adjuncts to nouns.

[0045] ADJECTIVE. This transforms a predicative use of an adjective into an adnominal construction.

[0046] PERIOD. Joins two complete clauses with a period.

[0047] The output of the sentence plan generator 220 is a sentence plan tree (or sp-tree for short), which is a binary tree with leaves labeled by all the elementary speech acts from the input communicative goals, and with its interior nodes labeled with clause-combining operations. Each node is also associated with a DSyntS: the leaves which correspond to elementary speech acts from the input communicative goals are linked to a canonical DSyntS for that speech act by lookup in a hand-crafted dictionary, for example. The interior nodes are associated with DSyntSs by executing their clause-combing operation on their two daughter nodes. For example, a PERIOD node results in a DSyntS headed by a period and whose daughters are the two daughter DSyntSs. As a result, the DSyntS for the entire user interaction is associated with the root node. This DSyntS can be sent to the realization unit 130, which outputs a single sentence or several sentences if the DSyntS contains period nodes.

[0048] The complexity of conventional sentence planning systems arises from the attempt to encode constraints on the application and ordering of system operations in order to generate a single high-quality sentence plan. However, in the sentence planning system 100 process of the invention there is not a need to encode such constraints. Instead, the sentence plan generator 220 generates a random sample of possible sentence plans for each communicative goal generated by the communicative goal generator 210. This may be accomplished by randomly selecting among the operations according to a probability distribution. If a clause combination fails, the sentence plan generator 220 discards that sp-tree. For example, if a relative clause of a structure which already contains a period is created, it will be discarded.

[0049] Table 2 above shows some of the realizations of alternative sentence plans generated by the sentence plan generator 220 for utterance systems in the sample dialog above. Sp-trees for alternatives 0, 5 and 8 are shown in FIGS. 5 and 6. For example, consider the sp-tree in FIG. 6. Node soft-merge-general merges an implicit-confirmation of the destination city and the origin city. The row labeled SOFT-MERGE in FIG. 4 shows the result of applying the soft-merge operation when Args 1 and 2 are implicit confirmations of the origin and destination cities. FIG. 7 illustrates the relationship between the sp-tree and the DSynt structure for alternative 8 from FIG. 6. The labels and arrows show the DSynt structure associated with each node in the sp-tree. The FIG. 7 diagram also shows how structures are composed into larger structures by the clause-combining operations.

[0050] The sentence plan ranker 230 takes as input a set of sentence plans generated by the sentence plan generator 220 and ranks them. As discussed above, in order to train the sentence plan ranker 230, a machine learning program may be applied to learn a set of rules for ranking sentence plans from the labeled set of sentence-plan training examples stored in the training database 160.

[0051] Examples of boosting algorithms that may be used by the sentence plan ranker 230 for ranking the generated sentence plans are described in detail below. Each example x is represented by a set of m indicator functions h_(s) (x) for 1≦s≦m. The indicator functions are calculated by thresholding the feature values (counts) described below. For example, one such indicator function might be: ${h_{100}(x)} = \left\{ {\begin{matrix} 1 \\ 0 \end{matrix}\begin{matrix} {\quad {{{if}\quad {LEAF}\text{-}\quad {IMPLICIT}\text{-}{{CONFIRM}(x)}} \geq 1}\quad} \\ {otherwise} \end{matrix}} \right.$

[0052] So h₁₀₀=1 if the number of leaf implicit confirm nodes in x≧1. A single parameter a_(s) is associated with each indicator function, and the “ranking score” for an example x is then calculated as: ${F(x)} = {\sum\limits_{s}\quad {a_{s}{h_{s}(x)}}}$

[0053] The sentence plan ranker 230 uses this score to rank competing realizations of the same text plan in order of plausibility. The training examples are used to set the parameter values a_(s). In this case, the human judgments are converted into a training set of ordered pairs of examples x, y, where x and y are candidates for the same sentence, and x is strictly preferred to y. More formally, the training set τ is:

τ={(x,y)|x,y are realizations for the same text plan, x is preferred to y by human judgements}

[0054] Thus, each text plan with 20 candidates could contribute up to (20*19)/2=190 such pairs. In practice, however, fewer pairs could be contributed due to different candidates getting tied scores from the annotators.

[0055] Training is then described as a process of setting the parameters a_(s) to minimize the following loss function: ${Loss} = {\sum\limits_{{({x,y})}{ɛ\tau}}\quad e^{({{F{(x)}} - {F{(y)}}})}}$

[0056] It can be seen that as this loss function is minimized, the values for (F(x)−F(y)) where x is preferred to y will be pushed to be positive, so that the number of ranking errors (cases where ranking scores disagree with human judgments) will tend to be reduced. Initially all parameter values are set to zero. The optimization method then picks a single parameter at a time, preferably the parameter that will make most impact on the loss function, and updates the parameter value to minimize the loss. The result is that substantial progress is typically made in minimizing the error rate, with relatively few non-zero parameter values. Consequently, under certain conditions, the combination of minimizing the loss function while using relatively few parameters leads to good generalization on test data examples. Empirical results for boosting have shown that in practice the method is highly effective.

[0057]FIG. 8 shows some of the rules that were learned on the training data that were then applied to the alternative sentence plans in each test set of each fold in order to rank them. Only a subset of the rules that had the largest impact on the score of each sp-tree is listed. Some particular rule examples are discussed here to help in understanding how the sentence plan ranker 230 operates. However, different thresholds and feature values may be used within the spirit and scope of the invention.

[0058] Rule (1) in FIG. 8 states that an implicit confirmation as the first leaf of the sp-tree leads to a large (0.94) increase in the score. Thus, all three of the alternative sp-trees accrue this ranking increase. Rules (2) and (5) state that the occurrence of 2 or more PRONOUN nodes in the DsyntS reduces the ranking by 0.85, and that 3 or more PRONOUN nodes reduces the ranking by an additional 0.34. Alternative 8 is above the threshold for both of these rules; alternative 5 is above the threshold for Rule (2) and alternative 0 is never above the threshold. Rule (6) on the other hand increases only the scores of alternatives 0 and 5 by 0.33 since alternative 8 is below threshold for that feature.

[0059] Although multiple instantiations of features are provided, some of which included parameters or lexical items that might identify particular discourse contexts, most of the learned rules utilize general properties of the sp-tree and the DSyntS. This is partly due to the fact that features that appeared less than 10 times in the training data were eliminated.

[0060]FIG. 9 shows an exemplary task classification system 900 that includes the sentence planning system 100. The task classification system 900 may include a recognizer 920, an NLU unit 930, a dialog manager/task classification processor 940, a sentence planning unit 120, a realization unit 130, a text-to-speech unit 140, a discourse history database 150, and a training database 160. The functions and descriptions of the sentence planning unit 120, the realization unit 130, the text-to-speech unit 140, the discourse history database 150, and the training database 160 are set forth above and will not be repeated here.

[0061] The sentence planning unit 120 receives recognition data from the recognizer 920 and understanding data from the NLU unit 930 that are based on input communications from the user. The recognizer 920 and the NLU unit 930 are shown as separate units for clarification purposes. However, the functions of the recognizer 920 and the NLU unit 930 may be performed by a single unit within the spirit and scope of this invention.

[0062] Note that the recognizer 920 may be trained to recognize any number of communication symbols, both acoustic and non-acoustic, including grammar fragments, meaningful words, meaningful phrases, meaningful phrase clusters, superwords, morphemes, multimodal signals, etc., using any of the methods known to one skilled in the art including those found in U.S. Pat. Nos. 5,675,707, 5,860,063 and 6,044,337, and U.S. patent application Ser. Nos. 08/943,944, 09/712,192 and 09/712,194, as discussed above.

[0063] The recognizer 920 and the NLU unit 930 may operate using one or more of a variety of recognition and understanding algorithms. For example, the recognizer 920 and the NLU unit 930 may use confidence functions to determine whether the user's input communications have been recognized and understood. The recognition and understanding data from the user's input communication may be used by the NLU unit 930 to calculate a probability that the language is understood clearly and this may be used in conjunction with other mechanisms like recognition confidence scores to decide whether and/or how to further process the user's communication.

[0064] The dialog manager/task classification processor 940 may be used to solicit clarifying information from the user in order to clear up any system misunderstanding. As a result, if the user's input communication can be satisfactorily recognized by the recognizer 920, understood by the NLU unit 930, and no further information from the user is needed, the dialog manager/task classification processor 940 routes and/or processes the user's input communication, which may include a request, comment, etc. However, if the NLU unit 930 recognizes errors in the understanding of the user's input communication such that if it cannot be satisfactorily recognized and understood, the dialog manager/task classification processor 940 may conduct dialog with the user for clarification and confirmation purposes.

[0065] The dialog manager/task classification processor 940 also may determine whether all of the communicative goals have been satisfied. Therefore, once the system has collected all of the necessary information from the user, the dialog manager/task classification processor 940 may classify and route any request or task received from the user so that it may be completed or processed by another system, unit, etc. Alternatively, the dialog manager/task classification processor 940 may process, classify or complete the task itself.

[0066] Note that while FIG. 9 shows the dialog manager/task classification processor 940 as a single unit, the functions of the dialog manager portion and the task classification processor portion may be performed by a separate dialog manager and a separate task classification processor, respectively.

[0067] As noted above, the dialog manager/task classification processor 940 may include, or perform the functions of, the communicative goal generator 210. In this regard, the dialog manager/task classification processor 940 would determine the communicative goals based on the recognized symbols and understanding data and route the communicative goals to the sentence plan generator 220 of the sentence planning unit 120.

[0068]FIG. 10 illustrates an exemplary sentence planning process in the task classification system 900. The process begins at step 10005 and proceeds to step 10010 where the recognizer 920 receives an input communication from the user recognizes symbols from the user's input communications using a recognition algorithm known to those of skill in the art. Then, in step 10015, recognized symbols are input to the NLU unit 930 where an understanding algorithm may be applied to the recognized symbols as known to those of skill in the art.

[0069] In step 10020, the NLU unit 930 determines whether the symbols can be understood. If the symbols cannot be understood, the process proceeds to step 10025 where dialog manager/task classification processor 940 conducts dialog with the user to clarify the system's understanding. The process reverts back to step 10010 and the system waits to receive additional input from the user.

[0070] However, if the symbols can be understood in step 10020, the process proceeds to step 10030 where the dialog manager/task classification processor 940 (or the communicative goal generator 210) determines whether the communicative goals in the user transaction have been met. If so, in step 10070, the dialog manager/task classification processor 940 routes the tasks from user's request to another unit for task completion, or processes the user's communication or request, itself. The process then goes to step 10070 and ends.

[0071] If the dialog manager/task classification processor 940 determines whether the communicative goals in the user transaction have not been met, the process proceeds to step 10035 where the communicative goal generator 210 (or the dialog manager/task classification processor 940) calculates the communicative goals of the particular transaction with the user using the recognition and understanding data. In step 10040, the communicative goal generator 210 transfers the calculated communicative goals along with the recognition and understanding data to the sentence planning unit 120. In the sentence planning unit 120, sentence plans are generated by the sentence plan generator 220 using input from the discourse history database 150. Then, in step 10045, the generated sentence plans are ranked by the sentence planning ranker 230.

[0072] The process proceeds to step 10050 where the sentence plan ranker 230 selects the highest ranked sentence plan. In step 10055, the selected sentence plan is input to the realization unit 130 where linguistic rules are applied. Then, in step 10060, the realized sentence plan is converted from text to speech by the text-to-speech unit 140 and is output to the user in step 10065. The process then goes to step 10070 and ends.

[0073] In the discussion herein, the terms “natural language understanding” and “sentence planning” are used to describe the understanding of a user's communication and the automated formulation of a system response, respectively. As such, this invention is directed toward the use of any form of communications received or transmitted over the networks which may be expressed verbally, nonverbally, multimodally, etc. Examples of nonverbal communications include the use of gestures, body movements, head movements, non-responses, text, keyboard entries, keypad entries, mouse clicks, DTMF codes, pointers, stylus, cable set-top box entries, graphical user interface entries, touchscreen entries, etc. Multimodal communications involve communications on a plurality of channels, such as aural, visual, etc. However, for ease of discussion, examples and discussions of the method and system of the invention are discussed above in relation to, but not limited to, verbal systems.

[0074] Note that while the above examples illustrate the invention in a travel service system, this invention may be applied to any single mode, or multimodal, dialog system, or any other automated dialog system that interacts with a user. Furthermore, the invention may apply to any automated recognition and understanding system that receives communications from external sources, such as users, customers, service providers, associates, etc. Consequently, the method may operate in conjunction with one or more communication networks, including a telephone network, the Internet, an intranet, Cable TV network, a local area network (LAN), a wireless communication network, etc.

[0075] In addition, while the examples above concern travel service systems, the sentence planning system 100 of the invention may be used in a wide variety of systems or purposes known to those of skill in the art, including parts ordering systems, customer care systems, reservation systems (including dining, car, train, airline, bus, lodging, travel, touring, etc.), navigation systems, information collecting systems, information retrieval systems, etc., within the spirit and scope of the invention.

[0076] As shown in FIGS. 1, 2, and 9, the method of this invention may be implemented using a programmed processor. However, the method can also be implemented on a general-purpose or a special purpose computer, a programmed microprocessor or microcontroller, peripheral integrated circuit elements, an application-specific integrated circuit (ASIC) or other integrated circuits, hardware/electronic logic circuits, such as a discrete element circuit, a programmable logic device, such as a PLD, PLA, FPGA, or PAL, or the like. In general, any device on which the finite state machine capable of implementing the flowcharts shown in FIGS. 3 and 10 can be used to implement the functions of this invention.

[0077] While the invention has been described with reference to the above embodiments, it is to be understood that these embodiments are purely exemplary in nature. Thus, the invention is not restricted to the particular forms shown in the foregoing embodiments. Various modifications and alterations can be made thereto without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A task classification system that interacts with a user, comprising: a recognizer that recognizes symbols in the user's input communication; a natural language understanding unit that determines whether the user's input communication can be understood, wherein if the user's communication can be understood, the natural language understanding unit generates understanding data; a communicative goal generator that generates communicative goals based on the symbols recognized by the recognizer and understanding data from the natural language understanding unit, the generated communicative goals being related to information needed to be obtained from the user; a sentence planning unit that automatically plans one or more sentences based on the communicative goals generated by the communicative goal generator, wherein at least one of the one or more sentences plans is output to the user.
 2. The system of claim 1, further comprising: a sentence plan generator that generates a plurality of sentence plans based on the communicative goals generated by the communicative goal generator; a sentence plan ranker that ranks the plurality of sentence plans generated by the sentence plan generator and selects the highest ranked sentence plan.
 3. The system of claim 2, further comprising: a realization unit that realizes the sentence plan selected by the sentence plan ranker unit by applying a set of linguistic rules.
 4. The system of claim 2, further comprising: a training database that includes a set of learned rules, wherein the sentence plan ranker ranks the plurality of sentence plans generated by the sentence plan generator using the set of learned rules.
 5. The system of claim 2, further comprising: a discourse history database that includes interaction information related to a set of interactions between the user and the task classification system, wherein the sentence plan generator generates the plurality of sentence plans using the interaction information.
 6. The system of claim 1, further comprising: a dialog manager that conducts dialog with the user if the natural language understanding unit does not understand the recognized symbols.
 7. The system of claim 6, wherein the dialog manager determines whether all of the communicative goals have been met.
 8. The system of claim 9, further comprising: a task classification processor that routes information obtained from the system's interactions with the user for task completion if the dialog manager determines that all of the communicative goals have been met.
 9. The system of claim 9, further comprising: a task classification processor that processes any tasks associated with the information obtained from the system's interactions with the user if the dialog manager determines that all of the communicative goals have been met.
 10. The system of claim 1, wherein the communicative goal generator generates communicative goals that include confirming information previously obtained from the user.
 11. The system of claim 1, further comprising: a text-to-speech converter that converts at least one of the one or more sentence plans from text to speech.
 12. The system of claim 1, wherein the task classification system is used in one of a customer care system, a reservation system, parts ordering system, navigation system, information gathering system, and information retrieval system.
 13. The system of claim 1, wherein interactions between the user and the task classification system include nonverbal communications.
 14. The system of claim 13, wherein the nonverbal communications include at least one of gestures, body movements, head movements, non-responses, text, keyboard entries, keypad entries, mouse clicks, DTMF codes, pointers, stylus, cable set-top box entries, graphical user interface entries, and touchscreen entries.
 15. A task classification system, comprising: a recognizer that recognizes symbols in a user's input communication; a natural language understanding unit that determine whether the user's input communication can be understood, wherein if the user's communication can be understood, the natural language understanding unit generates understanding data; a communicative goal generator that generates communicative goals based on the symbols recognized by the recognizer and understanding data from the natural language understanding unit, the generated communicative goals being related to information needed to be obtained from the user; a sentence plan generator that generates a plurality of sentence plans based on the communicative goals generated by the communicative goal generator; a sentence plan ranker that ranks the generated sentence plans and selects the highest ranked sentence plan and outputs the selected sentence plan to the user a realization unit that realizes the selected sentence plan, wherein the realized sentence plan is output to the user.
 16. The system of claim 15, wherein the realization unit realizes the selected sentence by applying a set of linguistic rules.
 17. The system of claim 15, further comprising: a training database that includes a set of learned rules, wherein the sentence plan ranker ranks the plurality of sentence plans generated by the sentence plan generator using the set of learned rules.
 18. The system of claim 15, further comprising: a discourse history database that includes interaction information related to a set of interactions between the user and the task classification system, wherein the sentence plan generator generates the plurality of sentence plans using the interaction information.
 19. The system of claim 1, further comprising: a dialog manager that conducts dialog with the user if the natural language understanding unit does not understand the recognized symbols.
 20. The system of claim 19, wherein the dialog manager determines whether all of the communicative goals have been met.
 21. The system of claim 20, further comprising: a task classification processor that routes information obtained from the system's interactions with the user for task completion if the dialog manager determines that all of the communicative goals have been met.
 22. The system of claim 20, further comprising: a task classification processor that processes any tasks associated with the information obtained from the system's interactions with the user if the dialog manager determines that all of the communicative goals have been met.
 23. The system of claim 15, wherein the communicative goal generator generates communicative goals that include confirming information previously obtained from the user.
 24. The system of claim 15, further comprising: a text-to-speech converter that converts at least one of the one or more sentence plans from text to speech.
 25. The system of claim 15, wherein the system is used in one of a customer care system, a reservation system, parts ordering system, navigation system, information gathering system, and information retrieval system.
 26. The system of claim 15, user's input communication includes nonverbal communications.
 27. The system of claim 26, wherein the nonverbal communications include at least one of gestures, body movements, head movements, non-responses, text, keyboard entries, keypad entries, mouse clicks, DTMF codes, pointers, stylus, cable set-top box entries, graphical user interface entries, and touchscreen entries.
 28. A task classification system, comprising: a recognizer that recognizes symbols in a user's input communication; a natural language understanding unit that determines whether the user's input communication can be understood, wherein if the user's input communication can be understood, the natural language understanding unit generates understanding data; a communicative goal generator that generates communicative goals based on the symbols recognized by the recognizer and understanding data from the natural language understanding unit, the generated communicative goals being related to information needed to be obtained from the user; a sentence plan generator that generates a plurality of sentence plans based on the communicative goals generated by the communicative goal generator and information related to a set of interactions between the user and the task classification system; a sentence plan ranker that ranks the generated sentence plans using a set of learned rules and selects the highest ranked sentence plan and outputs the selected sentence plan to the user; a realization unit that realizes the selected sentence plan by applying a set of linguistic rules, wherein the realized sentence plan is output to the user; and a text-to-speech converter that converts the realized sentence plan from text to speech, wherein the converted sentence plan is output to the user.
 29. The system of claim 28, further comprising: a dialog manager that conducts dialog with the user if the natural language understanding unit does not understand the recognized symbols.
 30. The system of claim 29, wherein the dialog manager determines whether all of the communicative goals have been met.
 31. The system of claim 30, further comprising: a task classification processor that routes information obtained from the system's interactions with the user for task completion if the dialog manager determines that all of the communicative goals have been met.
 32. The system of claim 30, further comprising: a task classification processor that processes any tasks associated with the information obtained from the system's interactions with the user if the dialog manager determines that all of the communicative goals have been met.
 33. The system of claim 28, wherein user's input communication includes nonverbal communications.
 34. The system of claim 28, wherein the nonverbal communications include at least one of gestures, body movements, head movements, non-responses, text, keyboard entries, keypad entries, mouse clicks, DTMF codes, pointers, stylus, cable set-top box entries, graphical user interface entries, and touchscreen entries.
 35. The system of claim 28, wherein the communicative goal generator generates communicative goals that include confirming information previously obtained from the user.
 36. The system of claim 28, wherein the system is used in one of a customer care system, a reservation system, parts ordering system, navigation system, information gathering system, and information retrieval system. 